<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<div class="pageContent">
	<form method="post"  action="<%=basePath %>appoint/alter_List.action" 
		class="pageForm required-validate" onsubmit="return validateCallback(this);">
		<div class="pageFormContent" layoutH="56">
			
			<p>
				<label>客户姓名：</label>
				<input name="cinfo.customerId" type="hidden" value="<s:property value="app.cinfo.customerId"/>"/>
				<input name="cinfo.cname" class="required" type="text" size="25"  value="<s:property value="app.cinfo.cname"/>"
					onclick="javascript:$(this).next().trigger('click');" />
				<a class="btnLook" href="<%=basePath %>customer/customerQuery.jsp" lookupgroup="cinfo">查找带回</a>
			</p>
			<p>
				<label>身份证号：</label>
				<input name="cinfo.cardId" disabled type="text" size="25" maxlength="18" 
					value="<s:property value="app.cinfo.cardId"/>" />
			</p>
			<p>
		    	<label>预约日期：</label>
			    <input type="text" name="app.appointDate" class="date" dateFmt="yyyy-MM-dd HH:mm:ss" 
			    	size="25" readonly="true" value="<s:property value="app.appointDate"/>"/>
			    <a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>预约方式：</label>
				<select name="app.appointType" class="required combox">
					<option value="">请选择</option>
					<option value="门诊" selected>门诊</option>
					<option value="电话" >电话</option>
					<option value="网上" >网上</option>
				</select>
			</p>
			<p>
				<label>预约医生：</label>
				<input name="doctor.empId" type="hidden"/>
				<input name="doctor.empName" class="required" type="text" size="25" 
					value="<s:property value="app.appointDoctor"/>"
					onclick="javascript:$(this).next().trigger('click');" />
				<a class="btnLook" href="<%=basePath %>system/systemQuery.jsp" lookupgroup="doctor">查找带回</a>
			</p>
			
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
